import type {RouteRecordRaw} from 'vue-router'

const router: RouteRecordRaw[] = [
	{
		path: '/test',
		name: 'test',
		meta: {
			auth: true,
			title: '测试页面',
			keepAlive: true
		},
		component: () => import('@/pages/Test.vue')
	},
	{
    path: '/:pathMatch(.*)*',
    redirect: '/'
  }
]

export default router